package User;

import book.BookList;
import doOperation.Operation;

public abstract class User {
    private String name;
    public Operation[] operations;
    public User(String name){
        this.name = name;
    }
    public abstract void menu();
    public void doWork(int choice, BookList bookList){
        operations[choice].work(bookList);
    }
}
